package com.xbn.xbnmall.product.feign;

import com.xbn.common.to.SkuHasStockVo;
import com.xbn.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author XBN
 * @date 2020/7/29 16:38
 * @email 78742541@qq.com
 */
@FeignClient("xbnmall-ware")
public interface WareFeginService {
    @PostMapping("/ware/waresku/hasStock")
    R getSkusHasStock(@RequestBody List<Long> skuIds);
}
